function(shape, tan) {
	
	var tans = [ tan ];
	var puzzle = new Puzzle(shape, tans);
    var result = Solver.getInstance().matched(puzzle);
    
    var puzzleStates = result.getPuzzleStates();

    return puzzleStates;
	
}